home *** CD-ROM | disk | FTP | other *** search
/ Practical Internet Web Designer 90 / PIWD90.iso / pc / contents / flash_gaming / tutorial_files / Pages 70-80 / finished game / line-up finished.fla / Symbol 86 < prev    next >
Unknown  |  2003-01-01  |  5.3 KB

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text

This file was not able to be converted.
This format is not currently supported by dexvert.

ConfidenceProgramDetectionMatch TypeSupport
100% file data default



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 01 ff ff 01 00 08 00 43 | 50 69 63 50 61 67 65 01 |.......C|PicPage.|
|00000010| 00 ff ff 01 00 09 00 43 | 50 69 63 4c 61 79 65 72 |.......C|PicLayer|
|00000020| 01 00 ff ff 01 00 09 00 | 43 50 69 63 46 72 61 6d |........|CPicFram|
|00000030| 65 01 00 ff ff 01 00 0a | 00 43 50 69 63 53 70 72 |e.......|.CPicSpr|
|00000040| 69 74 65 01 00 00 00 00 | 00 00 00 00 00 00 00 0a |ite.....|........|
|00000050| 3d 0a 00 00 00 00 00 00 | 00 00 00 00 3d 0a 00 00 |=.......|....=...|
|00000060| 00 00 00 00 00 00 00 00 | 00 00 02 00 01 00 01 00 |........|........|
|00000070| 00 00 01 00 00 00 01 00 | 00 00 01 00 00 00 00 64 |........|.......d|
|00000080| 00 00 00 00 ff 00 57 00 | 00 00 06 01 00 00 00 01 |......W.|........|
|00000090| 00 00 00 af 65 00 00 00 | 00 00 00 00 0e 68 69 67 |....e...|.....hig|
|000000a0| 68 6c 69 67 68 74 41 73 | 73 65 74 02 00 00 00 00 |hlightAs|set.....|
|000000b0| 00 00 00 00 00 00 00 00 | 01 00 00 00 00 00 00 00 |........|........|
|000000c0| 00 80 00 00 00 80 02 00 | 00 01 00 00 00 00 00 00 |........|........|
|000000d0| 00 00 00 00 00 01 00 00 | 00 00 00 00 00 00 00 05 |........|........|
|000000e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 16 01 00 |........|........|
|000000f0| 00 06 00 00 00 00 00 00 | 00 00 00 00 00 00 00 ff |........|........|
|00000100| ff ff 3f ff ff 00 01 00 | 00 00 01 00 00 00 de 6a |..?.....|.......j|
|00000110| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000120| 00 00 00 00 00 00 00 00 | 00 00 00 00 01 00 00 00 |........|........|
|00000130| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 80 00 00 |........|........|
|00000140| 00 80 0a 0e 56 69 72 74 | 75 61 6c 20 41 73 73 65 |....Virt|ual Asse|
|00000150| 74 73 00 01 01 ff ff ff | ff ff 4f 4f ff 00 00 00 |ts......|..OO....|
|00000160| 00 01 00 00 00 01 00 00 | 01 00 03 80 01 00 05 80 |........|........|
|00000170| 01 00 00 00 00 00 00 80 | 00 00 00 80 02 00 00 01 |........|........|
|00000180| 00 00 00 00 00 00 00 00 | 00 00 00 01 00 00 00 00 |........|........|
|00000190| 00 00 00 00 00 05 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001a0| 00 00 00 16 01 00 00 06 | 00 00 00 00 00 00 00 00 |........|........|
|000001b0| 00 00 00 00 00 ff ff ff | 3f ff ff 00 01 00 00 00 |........|?.......|
|000001c0| 01 00 00 00 54 05 00 00 | 00 00 00 00 ff 25 13 23 |....T...|.....%.#|
|000001d0| 69 6e 69 74 63 6c 69 70 | 20 32 0a 2f 2a 0a 0a 09 |initclip| 2./*...|
|000001e0| 09 43 4c 41 53 53 20 46 | 53 65 6c 65 63 74 61 62 |.CLASS F|Selectab|
|000001f0| 6c 65 49 74 65 6d 43 6c | 61 73 73 0a 09 09 45 58 |leItemCl|ass...EX|
|00000200| 54 45 4e 44 53 20 46 55 | 49 43 6f 6d 70 6f 6e 65 |TENDS FU|ICompone|
|00000210| 6e 74 43 6c 61 73 73 0a | 09 09 0a 09 09 46 53 65 |ntClass.|.....FSe|
|00000220| 6c 65 63 74 61 62 6c 65 | 49 74 65 6d 43 6c 61 73 |lectable|ItemClas|
|00000230| 73 20 69 73 20 74 68 65 | 20 73 75 70 65 72 20 63 |s is the| super c|
|00000240| 6c 61 73 73 20 66 6f 72 | 20 55 49 20 69 6e 20 61 |lass for| UI in a|
|00000250| 6c 6c 20 6c 69 73 74 20 | 61 6e 64 20 6d 65 6e 75 |ll list |and menu|
|00000260| 20 69 74 65 6d 73 2e 0a | 09 09 48 61 6e 64 6c 65 | items..|..Handle|
|00000270| 73 20 48 69 67 68 6c 69 | 67 68 74 69 6e 67 20 28 |s Highli|ghting (|
|00000280| 69 6e 63 20 63 6f 6c 6f | 72 73 29 2c 20 48 69 74 |inc colo|rs), Hit|
|00000290| 41 72 65 61 20 6d 61 6e | 61 67 65 6d 65 6e 74 2e |Area man|agement.|
|000002a0| 20 0a 2a 2f 0a 20 0a 66 | 75 6e 63 74 69 6f 6e 20 | .*/. .f|unction |
|000002b0| 46 53 65 6c 65 63 74 61 | 62 6c 65 49 74 65 6d 43 |FSelecta|bleItemC|
|000002c0| 6c 61 73 73 28 29 0a 7b | 0a 09 74 68 69 73 2e 69 |lass().{|..this.i|
|000002d0| 6e 69 74 28 29 3b 0a 7d | 0a 0a 46 53 65 6c 65 63 |nit();.}|..FSelec|
|000002e0| 74 61 62 6c 65 49 74 65 | 6d 43 6c 61 73 73 2e 70 |tableIte|mClass.p|
|000002f0| 72 6f 74 6f 74 79 70 65 | 20 3d 20 6e 65 77 20 46 |rototype| = new F|
|00000300| 55 49 43 6f 6d 70 6f 6e | 65 6e 74 43 6c 61 73 73 |UICompon|entClass|
|00000310| 28 29 3b 0a 0a 0a 46 53 | 65 6c 65 63 74 61 62 6c |();...FS|electabl|
|00000320| 65 49 74 65 6d 43 6c 61 | 73 73 2e 70 72 6f 74 6f |eItemCla|ss.proto|
|00000330| 74 79 70 65 2e 69 6e 69 | 74 20 3d 20 66 75 6e 63 |type.ini|t = func|
|00000340| 74 69 6f 6e 28 29 0a 7b | 0a 09 2f 2f 20 4b 65 65 |tion().{|..// Kee|
|00000350| 70 20 74 68 65 20 6c 61 | 62 65 6c 20 66 72 6f 6d |p the la|bel from|
|00000360| 20 69 6e 73 74 61 6e 74 | 69 61 74 69 6e 67 20 69 | instant|iating i|
|00000370| 66 20 74 68 69 73 20 69 | 73 20 6a 75 73 74 20 61 |f this i|s just a|
|00000380| 6e 20 41 73 73 65 74 0a | 09 2f 2f 20 54 68 69 73 |n Asset.|.// This|
|00000390| 20 68 65 6c 70 73 20 73 | 61 76 65 20 52 41 4d 20 | helps s|ave RAM |
|000003a0| 61 6e 64 20 70 72 65 76 | 65 6e 74 73 20 6d 61 73 |and prev|ents mas|
|000003b0| 6b 69 6e 67 20 69 73 73 | 75 65 73 0a 09 69 66 20 |king iss|ues..if |
|000003c0| 28 74 68 69 73 2e 5f 6e | 61 6d 65 21 3d 22 69 74 |(this._n|ame!="it|
|000003d0| 65 6d 41 73 73 65 74 22 | 29 20 7b 0a 09 09 74 68 |emAsset"|) {...th|
|000003e0| 69 73 2e 68 69 67 68 6c | 69 67 68 74 65 64 20 3d |is.highl|ighted =|
|000003f0| 20 66 61 6c 73 65 3b 0a | 09 09 74 68 69 73 2e 6c | false;.|..this.l|
|00000400| 61 79 6f 75 74 43 6f 6e | 74 65 6e 74 28 31 30 30 |ayoutCon|tent(100|
|00000410| 29 3b 0a 09 7d 0a 7d 0a | 0a 0a 2f 2f 20 3a 3a 3a |);..}.}.|..// :::|
|00000420| 20 50 55 42 4c 49 43 20 | 4d 45 54 48 4f 44 53 0a | PUBLIC |METHODS.|
|00000430| 0a 0a 2f 2a 20 44 72 61 | 77 49 74 65 6d 20 69 73 |../* Dra|wItem is|
|00000440| 20 74 68 65 20 6f 76 65 | 72 61 6c 6c 20 73 68 65 | the ove|rall she|
|00000450| 6c 6c 20 66 6f 72 20 64 | 69 73 70 6c 61 79 69 6e |ll for d|isplayin|
|00000460| 67 20 63 6f 6e 74 65 6e | 74 20 69 6e 20 61 6e 20 |g conten|t in an |
|00000470| 69 74 65 6d 2e 20 53 74 | 65 70 73 3a 0a 20 20 20 |item. St|eps:. |
|00000480| 31 29 20 44 69 73 70 6c | 61 79 69 6e 67 20 74 68 |1) Displ|aying th|
|00000490| 65 20 74 65 78 74 20 2f | 20 6f 74 68 65 72 20 63 |e text /| other c|
|000004a0| 6f 6e 74 65 6e 74 20 74 | 6f 20 64 69 73 70 6c 61 |ontent t|o displa|
|000004b0| 79 20 69 6e 20 74 68 65 | 20 69 74 65 6d 20 28 66 |y in the| item (f|
|000004c0| 72 6f 6d 20 77 69 74 68 | 69 6e 20 74 68 65 20 69 |rom with|in the i|
|000004d0| 74 6d 4f 62 6a 29 0a 20 | 20 20 32 29 20 74 75 72 |tmObj). | 2) tur|
|000004e0| 6e 69 6e 67 20 74 68 65 | 20 68 69 67 68 6c 69 67 |ning the| highlig|
|000004f0| 68 74 20 6f 6e 20 6f 72 | 20 6f 66 66 0a 2a 2f 0a |ht on or| off.*/.|
|00000500| 46 53 65 6c 65 63 74 61 | 62 6c 65 49 74 65 6d 43 |FSelecta|bleItemC|
|00000510| 6c 61 73 73 2e 70 72 6f | 74 6f 74 79 70 65 2e 64 |lass.pro|totype.d|
|00000520| 72 61 77 49 74 65 6d 20 | 3d 20 66 75 6e 63 74 69 |rawItem |= functi|
|00000530| 6f 6e 28 69 74 6d 4f 62 | 6a 2c 20 73 65 6c 65 63 |on(itmOb|j, selec|
|00000540| 74 65 64 29 0a 7b 0a 0a | 09 74 68 69 73 2e 64 69 |ted).{..|.this.di|
|00000550| 73 70 6c 61 79 43 6f 6e | 74 65 6e 74 28 69 74 6d |splayCon|tent(itm|
|00000560| 4f 62 6a 2c 20 73 65 6c | 65 63 74 65 64 29 3b 0a |Obj, sel|ected);.|
|00000570| 0a 09 69 66 20 28 20 28 | 74 68 69 73 2e 68 69 67 |..if ( (|this.hig|
|00000580| 68 6c 69 67 68 74 65 64 | 21 3d 73 65 6c 65 63 74 |hlighted|!=select|
|00000590| 65 64 29 20 7c 7c 20 28 | 28 74 68 69 73 2e 63 6f |ed) || (|(this.co|
|000005a0| 6e 74 72 6f 6c 6c 65 72 | 2e 66 6f 63 75 73 65 64 |ntroller|.focused|
|000005b0| 21 3d 74 68 69 73 2e 6f | 6c 64 46 6f 63 75 73 29 |!=this.o|ldFocus)|
|000005c0| 20 26 26 20 73 65 6c 65 | 63 74 65 64 29 20 29 20 | && sele|cted) ) |
|000005d0| 7b 0a 09 09 74 68 69 73 | 2e 73 65 74 48 69 67 68 |{...this|.setHigh|
|000005e0| 6c 69 67 68 74 65 64 28 | 73 65 6c 65 63 74 65 64 |lighted(|selected|
|000005f0| 29 3b 0a 09 7d 0a 09 74 | 68 69 73 2e 6f 6c 64 46 |);..}..t|his.oldF|
|00000600| 6f 63 75 73 20 3d 20 74 | 68 69 73 2e 63 6f 6e 74 |ocus = t|his.cont|
|00000610| 72 6f 6c 6c 65 72 2e 66 | 6f 63 75 73 65 64 3b 0a |roller.f|ocused;.|
|00000620| 7d 0a 0a 0a 2f 2f 20 20 | 54 68 69 73 20 69 73 20 |}...// |This is |
|00000630| 66 6f 72 20 61 64 6a 75 | 73 74 69 6e 67 20 74 68 |for adju|sting th|
|00000640| 65 20 73 69 7a 65 20 6f | 66 20 74 68 65 20 68 69 |e size o|f the hi|
|00000650| 67 68 6c 69 67 68 74 20 | 61 6e 64 20 69 74 73 20 |ghlight |and its |
|00000660| 61 73 73 6f 63 69 61 74 | 65 64 20 68 69 74 20 61 |associat|ed hit a|
|00000670| 72 65 61 0a 46 53 65 6c | 65 63 74 61 62 6c 65 49 |rea.FSel|ectableI|
|00000680| 74 65 6d 43 6c 61 73 73 | 2e 70 72 6f 74 6f 74 79 |temClass|.prototy|
|00000690| 70 65 2e 73 65 74 53 69 | 7a 65 20 3d 20 66 75 6e |pe.setSi|ze = fun|
|000006a0| 63 74 69 6f 6e 28 77 69 | 64 74 68 2c 20 68 65 69 |ction(wi|dth, hei|
|000006b0| 67 68 74 29 0a 7b 0a 09 | 76 61 72 20 4c 4f 57 45 |ght).{..|var LOWE|
|000006c0| 53 54 5f 44 45 50 54 48 | 20 3d 20 2d 31 36 33 38 |ST_DEPTH| = -1638|
|000006d0| 34 3b 20 2f 2f 20 41 20 | 63 6f 6e 73 74 61 6e 74 |4; // A |constant|
|000006e0| 20 28 21 29 20 66 6f 72 | 20 74 68 65 20 6c 6f 77 | (!) for| the low|
|000006f0| 65 73 74 20 61 75 74 68 | 6f 72 74 69 6d 65 20 64 |est auth|ortime d|
|00000700| 65 70 74 68 0a 09 74 68 | 69 73 2e 77 69 64 74 68 |epth..th|is.width|
|00000710| 20 3d 20 77 69 64 74 68 | 3b 0a 09 74 68 69 73 2e | = width|;..this.|
|00000720| 6c 61 79 6f 75 74 43 6f | 6e 74 65 6e 74 28 77 69 |layoutCo|ntent(wi|
|00000730| 64 74 68 29 3b 20 2f 2f | 20 45 58 54 45 4e 44 20 |dth); //| EXTEND |
|00000740| 74 68 69 73 20 66 6f 72 | 20 61 6c 74 65 72 6e 61 |this for| alterna|
|00000750| 74 65 20 63 6f 6e 74 65 | 6e 74 2e 0a 09 0a 09 74 |te conte|nt.....t|
|00000760| 68 69 73 2e 61 74 74 61 | 63 68 4d 6f 76 69 65 28 |his.atta|chMovie(|
|00000770| 22 46 48 69 67 68 6c 69 | 67 68 74 53 79 6d 62 6f |"FHighli|ghtSymbo|
|00000780| 6c 22 2c 20 22 68 69 67 | 68 6c 69 67 68 74 5f 6d |l", "hig|hlight_m|
|00000790| 63 22 2c 20 4c 4f 57 45 | 53 54 5f 44 45 50 54 48 |c", LOWE|ST_DEPTH|
|000007a0| 29 3b 0a 09 74 68 69 73 | 2e 68 69 67 68 6c 69 67 |);..this|.highlig|
|000007b0| 68 74 5f 6d 63 2e 5f 78 | 3d 30 2e 35 3b 0a 09 74 |ht_mc._x|=0.5;..t|
|000007c0| 68 69 73 2e 68 69 67 68 | 6c 69 67 68 74 5f 6d 63 |his.high|light_mc|
|000007d0| 2e 5f 77 69 64 74 68 20 | 3d 20 77 69 64 74 68 2d |._width |= width-|
|000007e0| 30 2e 35 3b 0a 09 74 68 | 69 73 2e 68 69 67 68 6c |0.5;..th|is.highl|
|000007f0| 69 67 68 74 5f 6d 63 2e | 5f 68 65 69 67 68 74 20 |ight_mc.|_height |
|00000800| 3d 20 68 65 69 67 68 74 | 3b 0a 09 74 68 69 73 2e |= height|;..this.|
|00000810| 68 69 67 68 6c 69 67 68 | 74 5f 6d 63 2e 63 6f 6e |highligh|t_mc.con|
|00000820| 74 72 6f 6c 6c 65 72 20 | 3d 20 74 68 69 73 3b 0a |troller |= this;.|
|00000830| 0a 09 74 68 69 73 2e 68 | 69 67 68 6c 69 67 68 74 |..this.h|ighlight|
|00000840| 5f 6d 63 2e 5f 61 6c 70 | 68 61 20 3d 20 30 3b 0a |_mc._alp|ha = 0;.|
|00000850| 09 74 68 69 73 2e 68 69 | 67 68 6c 69 67 68 74 5f |.this.hi|ghlight_|
|00000860| 6d 63 2e 74 72 61 63 6b | 41 73 4d 65 6e 75 20 3d |mc.track|AsMenu =|
|00000870| 20 74 72 75 65 3b 0a 0a | 09 74 68 69 73 2e 68 69 | true;..|.this.hi|
|00000880| 67 68 6c 69 67 68 74 5f | 6d 63 2e 6f 6e 50 72 65 |ghlight_|mc.onPre|
|00000890| 73 73 20 3d 20 66 75 6e | 63 74 69 6f 6e 28 29 0a |ss = fun|ction().|
|000008a0| 09 7b 0a 09 09 69 66 20 | 28 74 68 69 73 2e 63 6f |.{...if |(this.co|
|000008b0| 6e 74 72 6f 6c 6c 65 72 | 2e 65 6e 61 62 6c 65 29 |ntroller|.enable)|
|000008c0| 20 7b 0a 09 09 09 74 68 | 69 73 2e 63 6f 6e 74 72 | {....th|is.contr|
|000008d0| 6f 6c 6c 65 72 2e 63 6f | 6e 74 72 6f 6c 6c 65 72 |oller.co|ntroller|
|000008e0| 2e 63 6c 69 63 6b 48 61 | 6e 64 6c 65 72 28 74 68 |.clickHa|ndler(th|
|000008f0| 69 73 2e 63 6f 6e 74 72 | 6f 6c 6c 65 72 2e 69 74 |is.contr|oller.it|
|00000900| 65 6d 4e 75 6d 29 3b 0a | 09 09 09 0a 09 09 7d 0a |emNum);.|......}.|
|00000910| 09 7d 0a 09 74 68 69 73 | 2e 68 69 67 68 6c 69 67 |.}..this|.highlig|
|00000920| 68 74 5f 6d 63 2e 6f 6e | 44 72 61 67 4f 76 65 72 |ht_mc.on|DragOver|
|00000930| 20 3d 20 66 75 6e 63 74 | 69 6f 6e 28 29 0a 09 7b | = funct|ion()..{|
|00000940| 0a 09 09 69 66 20 28 74 | 68 69 73 2e 63 6f 6e 74 |...if (t|his.cont|
|00000950| 72 6f 6c 6c 65 72 2e 63 | 6f 6e 74 72 6f 6c 6c 65 |roller.c|ontrolle|
|00000960| 72 2e 66 6f 63 75 73 65 | 64 29 20 7b 0a 09 09 09 |r.focuse|d) {....|
|00000970| 74 68 69 73 2e 6f 6e 50 | 72 65 73 73 28 29 3b 0a |this.onP|ress();.|
|00000980| 09 09 7d 0a 09 7d 0a 09 | 74 68 69 73 2e 68 69 67 |..}..}..|this.hig|
|00000990| 68 6c 69 67 68 74 5f 6d | 63 2e 75 73 65 48 61 6e |hlight_m|c.useHan|
|000009a0| 64 43 75 72 73 6f 72 20 | 3d 20 66 61 6c 73 65 3b |dCursor |= false;|
|000009b0| 0a 09 74 68 69 73 2e 68 | 69 67 68 6c 69 67 68 74 |..this.h|ighlight|
|000009c0| 5f 6d 63 2e 74 72 61 63 | 6b 41 73 4d 65 6e 75 20 |_mc.trac|kAsMenu |
|000009d0| 3d 20 74 72 75 65 3b 0a | 7d 0a 0a 0a 2f 2f 20 45 |= true;.|}...// E|
|000009e0| 58 54 45 4e 44 20 74 68 | 69 73 20 6d 65 74 68 6f |XTEND th|is metho|
|000009f0| 64 20 74 6f 20 61 63 63 | 6f 6d 6f 64 61 74 65 20 |d to acc|omodate |
|00000a00| 6d 6f 72 65 20 74 68 61 | 6e 20 6f 6e 65 20 6c 61 |more tha|n one la|
|00000a10| 62 65 6c 20 6f 72 20 6f | 74 68 65 72 20 63 6f 6e |bel or o|ther con|
|00000a20| 74 65 6e 74 2e 0a 46 53 | 65 6c 65 63 74 61 62 6c |tent..FS|electabl|
|00000a30| 65 49 74 65 6d 43 6c 61 | 73 73 2e 70 72 6f 74 6f |eItemCla|ss.proto|
|00000a40| 74 79 70 65 2e 73 65 74 | 45 6e 61 62 6c 65 64 20 |type.set|Enabled |
|00000a50| 3d 20 66 75 6e 63 74 69 | 6f 6e 28 65 6e 61 62 6c |= functi|on(enabl|
|00000a60| 65 64 46 6c 61 67 29 0a | 7b 0a 09 74 68 69 73 2e |edFlag).|{..this.|
|00000a70| 65 6e 61 62 6c 65 20 3d | 65 6e 61 62 6c 65 64 46 |enable =|enabledF|
|00000a80| 6c 61 67 3b 0a 09 74 68 | 69 73 2e 66 4c 61 62 65 |lag;..th|is.fLabe|
|00000a90| 6c 5f 6d 63 2e 73 65 74 | 45 6e 61 62 6c 65 64 28 |l_mc.set|Enabled(|
|00000aa0| 65 6e 61 62 6c 65 64 46 | 6c 61 67 29 3b 0a 09 74 |enabledF|lag);..t|
|00000ab0| 68 69 73 2e 68 69 67 68 | 6c 69 67 68 74 5f 6d 63 |his.high|light_mc|
|00000ac0| 2e 67 6f 74 6f 41 6e 64 | 53 74 6f 70 28 20 28 65 |.gotoAnd|Stop( (e|
|00000ad0| 6e 61 62 6c 65 64 46 6c | 61 67 29 20 3f 20 22 75 |nabledFl|ag) ? "u|
|00000ae0| 6e 66 6f 63 75 73 65 64 | 22 20 3a 20 22 64 69 73 |nfocused|" : "dis|
|00000af0| 61 62 6c 65 64 22 20 29 | 3b 0a 7d 0a 0a 0a 0a 2f |abled" )|;.}..../|
|00000b00| 2f 20 3a 3a 3a 20 50 52 | 49 56 41 54 45 20 4d 45 |/ ::: PR|IVATE ME|
|00000b10| 54 48 4f 44 53 0a 0a 2f | 2f 20 45 58 54 45 4e 44 |THODS../|/ EXTEND|
|00000b20| 20 74 68 69 73 20 6d 65 | 74 68 6f 64 20 74 6f 20 | this me|thod to |
|00000b30| 63 68 61 6e 67 65 20 74 | 68 65 20 63 6f 6e 74 65 |change t|he conte|
|00000b40| 6e 74 20 6f 66 20 61 6e | 20 69 74 65 6d 20 61 6e |nt of an| item an|
|00000b50| 64 20 69 74 73 20 6c 61 | 79 6f 75 74 0a 46 53 65 |d its la|yout.FSe|
|00000b60| 6c 65 63 74 61 62 6c 65 | 49 74 65 6d 43 6c 61 73 |lectable|ItemClas|
|00000b70| 73 2e 70 72 6f 74 6f 74 | 79 70 65 2e 6c 61 79 6f |s.protot|ype.layo|
|00000b80| 75 74 43 6f 6e 74 65 6e | 74 20 3d 20 66 75 6e 63 |utConten|t = func|
|00000b90| 74 69 6f 6e 28 77 69 64 | 74 68 29 0a 7b 0a 09 74 |tion(wid|th).{..t|
|00000ba0| 68 69 73 2e 61 74 74 61 | 63 68 4d 6f 76 69 65 28 |his.atta|chMovie(|
|00000bb0| 22 46 4c 61 62 65 6c 53 | 79 6d 62 6f 6c 22 2c 20 |"FLabelS|ymbol", |
|00000bc0| 22 66 4c 61 62 65 6c 5f | 6d 63 22 2c 20 32 2c 20 |"fLabel_|mc", 2, |
|00000bd0| 7b 68 6f 73 74 43 6f 6d | 70 6f 6e 65 6e 74 3a 74 |{hostCom|ponent:t|
|00000be0| 68 69 73 2e 63 6f 6e 74 | 72 6f 6c 6c 65 72 7d 29 |his.cont|roller})|
|00000bf0| 3b 20 0a 09 74 68 69 73 | 2e 66 4c 61 62 65 6c 5f |; ..this|.fLabel_|
|00000c00| 6d 63 2e 5f 78 20 3d 20 | 32 3b 0a 09 74 68 69 73 |mc._x = |2;..this|
|00000c10| 2e 66 4c 61 62 65 6c 5f | 6d 63 2e 5f 79 20 3d 20 |.fLabel_|mc._y = |
|00000c20| 30 3b 0a 09 74 68 69 73 | 2e 66 4c 61 62 65 6c 5f |0;..this|.fLabel_|
|00000c30| 6d 63 2e 73 65 74 53 69 | 7a 65 28 77 69 64 74 68 |mc.setSi|ze(width|
|00000c40| 2d 32 29 3b 0a 09 74 68 | 69 73 2e 66 4c 61 62 65 |-2);..th|is.fLabe|
|00000c50| 6c 5f 6d 63 2e 6c 61 62 | 65 6c 46 69 65 6c 64 2e |l_mc.lab|elField.|
|00000c60| 73 65 6c 65 63 74 61 62 | 6c 65 20 3d 20 66 61 6c |selectab|le = fal|
|00000c70| 73 65 3b 0a 7d 0a 0a 2f | 2f 20 45 58 54 45 4e 44 |se;.}../|/ EXTEND|
|00000c80| 20 74 68 69 73 20 6d 65 | 74 68 6f 64 20 74 6f 20 | this me|thod to |
|00000c90| 63 68 61 6e 67 65 20 74 | 68 65 20 72 65 6e 64 65 |change t|he rende|
|00000ca0| 72 69 6e 67 20 6f 66 20 | 74 68 65 20 63 6f 6e 74 |ring of |the cont|
|00000cb0| 65 6e 74 20 69 6e 20 61 | 6e 20 69 74 65 6d 20 28 |ent in a|n item (|
|00000cc0| 6d 75 6c 74 69 70 6c 65 | 20 6c 61 62 65 6c 73 2c |multiple| labels,|
|00000cd0| 20 69 63 6f 6e 73 2c 20 | 65 74 63 29 0a 46 53 65 | icons, |etc).FSe|
|00000ce0| 6c 65 63 74 61 62 6c 65 | 49 74 65 6d 43 6c 61 73 |lectable|ItemClas|
|00000cf0| 73 2e 70 72 6f 74 6f 74 | 79 70 65 2e 64 69 73 70 |s.protot|ype.disp|
|00000d00| 6c 61 79 43 6f 6e 74 65 | 6e 74 20 3d 20 66 75 6e |layConte|nt = fun|
|00000d10| 63 74 69 6f 6e 28 69 74 | 6d 4f 62 6a 2c 20 73 65 |ction(it|mObj, se|
|00000d20| 6c 65 63 74 65 64 29 0a | 7b 0a 09 2f 2f 3a 3a 20 |lected).|{..//:: |
|00000d30| 42 65 67 69 6e 20 63 68 | 6f 6f 73 69 6e 67 20 74 |Begin ch|oosing t|
|00000d40| 68 65 20 74 65 78 74 20 | 74 6f 20 64 69 73 70 6c |he text |to displ|
|00000d50| 61 79 2c 20 62 79 20 69 | 6e 74 72 6f 73 70 65 63 |ay, by i|ntrospec|
|00000d60| 74 69 6e 67 20 74 68 65 | 20 6f 62 6a 65 63 74 20 |ting the| object |
|00000d70| 61 20 6c 69 74 74 6c 65 | 2e 0a 09 76 61 72 20 74 |a little|...var t|
|00000d80| 6d 70 4c 61 62 65 6c 20 | 3d 20 22 22 3b 0a 09 69 |mpLabel |= "";..i|
|00000d90| 66 20 28 69 74 6d 4f 62 | 6a 2e 6c 61 62 65 6c 21 |f (itmOb|j.label!|
|00000da0| 3d 75 6e 64 65 66 69 6e | 65 64 29 20 7b 0a 09 09 |=undefin|ed) {...|
|00000db0| 74 6d 70 4c 61 62 65 6c | 20 3d 20 69 74 6d 4f 62 |tmpLabel| = itmOb|
|00000dc0| 6a 2e 6c 61 62 65 6c 3b | 0a 09 7d 20 65 6c 73 65 |j.label;|..} else|
|00000dd0| 20 7b 0a 09 09 69 66 20 | 28 74 79 70 65 6f 66 28 | {...if |(typeof(|
|00000de0| 69 74 6d 4f 62 6a 29 3d | 3d 22 6f 62 6a 65 63 74 |itmObj)=|="object|
|00000df0| 22 29 20 7b 0a 09 09 09 | 66 6f 72 20 28 76 61 72 |") {....|for (var|
|00000e00| 20 69 20 69 6e 20 69 74 | 6d 4f 62 6a 29 20 7b 0a | i in it|mObj) {.|
|00000e10| 09 09 09 09 69 66 20 28 | 69 21 3d 22 5f 5f 49 44 |....if (|i!="__ID|
|00000e20| 5f 5f 22 29 20 7b 0a 09 | 09 09 09 09 74 6d 70 4c |__") {..|....tmpL|
|00000e30| 61 62 65 6c 20 3d 20 69 | 74 6d 4f 62 6a 5b 69 5d |abel = i|tmObj[i]|
|00000e40| 20 2b 20 22 2c 20 22 20 | 2b 20 74 6d 70 4c 61 62 | + ", " |+ tmpLab|
|00000e50| 65 6c 3b 0a 09 09 09 09 | 7d 0a 09 09 09 7d 0a 09 |el;.....|}....}..|
|00000e60| 09 09 74 6d 70 4c 61 62 | 65 6c 20 3d 20 74 6d 70 |..tmpLab|el = tmp|
|00000e70| 4c 61 62 65 6c 2e 73 75 | 62 73 74 72 69 6e 67 28 |Label.su|bstring(|
|00000e80| 30 2c 74 6d 70 4c 61 62 | 65 6c 2e 6c 65 6e 67 74 |0,tmpLab|el.lengt|
|00000e90| 68 2d 32 29 3b 0a 0a 09 | 09 7d 20 65 6c 73 65 20 |h-2);...|.} else |
|00000ea0| 7b 0a 09 09 09 74 6d 70 | 4c 61 62 65 6c 20 3d 20 |{....tmp|Label = |
|00000eb0| 69 74 6d 4f 62 6a 3b 0a | 09 09 7d 0a 09 7d 0a 09 |itmObj;.|..}..}..|
|00000ec0| 2f 2f 3a 3a 20 45 6e 64 | 20 63 68 6f 6f 73 69 6e |//:: End| choosin|
|00000ed0| 67 20 74 65 78 74 20 74 | 6f 20 64 69 73 70 6c 61 |g text t|o displa|
|00000ee0| 79 3b 20 64 69 73 70 6c | 61 79 20 69 74 2e 20 0a |y; displ|ay it. .|
|00000ef0| 09 69 66 20 28 74 68 69 | 73 2e 66 4c 61 62 65 6c |.if (thi|s.fLabel|
|00000f00| 5f 6d 63 2e 6c 61 62 65 | 6c 46 69 65 6c 64 2e 74 |_mc.labe|lField.t|
|00000f10| 65 78 74 21 3d 74 6d 70 | 4c 61 62 65 6c 29 20 7b |ext!=tmp|Label) {|
|00000f20| 0a 09 09 74 68 69 73 2e | 66 4c 61 62 65 6c 5f 6d |...this.|fLabel_m|
|00000f30| 63 2e 73 65 74 4c 61 62 | 65 6c 28 74 6d 70 4c 61 |c.setLab|el(tmpLa|
|00000f40| 62 65 6c 29 3b 0a 09 7d | 0a 09 0a 09 2f 2f 20 63 |bel);..}|....// c|
|00000f50| 6f 6c 6f 72 20 74 68 65 | 20 6c 61 62 65 6c 2e 20 |olor the| label. |
|00000f60| 0a 09 76 61 72 20 63 6c | 72 20 3d 20 28 73 65 6c |..var cl|r = (sel|
|00000f70| 65 63 74 65 64 29 20 3f | 20 74 68 69 73 2e 63 6f |ected) ?| this.co|
|00000f80| 6e 74 72 6f 6c 6c 65 72 | 2e 73 74 79 6c 65 54 61 |ntroller|.styleTa|
|00000f90| 62 6c 65 2e 74 65 78 74 | 53 65 6c 65 63 74 65 64 |ble.text|Selected|
|00000fa0| 2e 76 61 6c 75 65 20 3a | 20 74 68 69 73 2e 63 6f |.value :| this.co|
|00000fb0| 6e 74 72 6f 6c 6c 65 72 | 2e 73 74 79 6c 65 54 61 |ntroller|.styleTa|
|00000fc0| 62 6c 65 2e 74 65 78 74 | 43 6f 6c 6f 72 2e 76 61 |ble.text|Color.va|
|00000fd0| 6c 75 65 3b 0a 09 69 66 | 20 28 63 6c 72 3d 3d 75 |lue;..if| (clr==u|
|00000fe0| 6e 64 65 66 69 6e 65 64 | 29 20 7b 0a 09 09 63 6c |ndefined|) {...cl|
|00000ff0| 72 20 3d 20 28 73 65 6c | 65 63 74 65 64 29 20 3f |r = (sel|ected) ?|
|00001000| 20 30 78 66 66 66 66 66 | 66 20 3a 20 30 78 30 30 | 0xfffff|f : 0x00|
|00001010| 30 30 30 30 3b 0a 09 7d | 0a 09 74 68 69 73 2e 66 |0000;..}|..this.f|
|00001020| 4c 61 62 65 6c 5f 6d 63 | 2e 73 65 74 43 6f 6c 6f |Label_mc|.setColo|
|00001030| 72 28 63 6c 72 29 3b 0a | 0a 7d 0a 0a 0a 0a 2f 2a |r(clr);.|.}..../*|
|00001040| 20 3a 3a 3a 20 63 6f 6e | 76 65 6e 69 65 6e 63 65 | ::: con|venience|
|00001050| 20 6d 65 74 68 6f 64 73 | 20 66 6f 72 20 61 63 63 | methods| for acc|
|00001060| 65 73 73 69 6e 67 20 74 | 68 65 20 64 61 74 61 20 |essing t|he data |
|00001070| 6d 6f 64 65 6c 20 61 73 | 73 6f 63 69 61 74 65 64 |model as|sociated|
|00001080| 20 77 69 74 68 20 61 6e | 20 69 74 65 6d 2e 20 0a | with an| item. .|
|00001090| 09 09 55 73 65 20 74 68 | 65 73 65 20 66 6f 72 20 |..Use th|ese for |
|000010a0| 72 6f 75 6e 64 2d 74 72 | 69 70 70 69 6e 67 20 69 |round-tr|ipping i|
|000010b0| 74 65 6d 2d 74 6f 2d 64 | 61 74 61 20 69 6e 74 65 |tem-to-d|ata inte|
|000010c0| 72 61 63 74 69 6f 6e 73 | 20 28 6c 69 6b 65 20 6f |ractions| (like o|
|000010d0| 70 65 6e 69 6e 67 20 61 | 20 74 72 65 65 20 6e 6f |pening a| tree no|
|000010e0| 64 65 2c 20 6f 72 20 70 | 75 74 74 69 6e 67 20 61 |de, or p|utting a|
|000010f0| 6e 0a 09 20 20 20 20 69 | 6e 70 75 74 20 66 69 65 |n.. i|nput fie|
|00001100| 6c 64 20 69 6e 20 61 6e | 20 69 74 65 6d 29 0a 2a |ld in an| item).*|
|00001110| 2f 0a 46 53 65 6c 65 63 | 74 61 62 6c 65 49 74 65 |/.FSelec|tableIte|
|00001120| 6d 43 6c 61 73 73 2e 70 | 72 6f 74 6f 74 79 70 65 |mClass.p|rototype|
|00001130| 2e 67 65 74 49 74 65 6d | 49 6e 64 65 78 20 3d 20 |.getItem|Index = |
|00001140| 66 75 6e 63 74 69 6f 6e | 28 29 0a 7b 0a 09 72 65 |function|().{..re|
|00001150| 74 75 72 6e 20 74 68 69 | 73 2e 63 6f 6e 74 72 6f |turn thi|s.contro|
|00001160| 6c 6c 65 72 2e 67 65 74 | 53 63 72 6f 6c 6c 50 6f |ller.get|ScrollPo|
|00001170| 73 69 74 69 6f 6e 28 29 | 20 2b 20 74 68 69 73 2e |sition()| + this.|
|00001180| 69 74 65 6d 4e 75 6d 3b | 0a 7d 0a 0a 46 53 65 6c |itemNum;|.}..FSel|
|00001190| 65 63 74 61 62 6c 65 49 | 74 65 6d 43 6c 61 73 73 |ectableI|temClass|
|000011a0| 2e 70 72 6f 74 6f 74 79 | 70 65 2e 67 65 74 49 74 |.prototy|pe.getIt|
|000011b0| 65 6d 4d 6f 64 65 6c 20 | 3d 20 66 75 6e 63 74 69 |emModel |= functi|
|000011c0| 6f 6e 28 29 0a 7b 0a 09 | 72 65 74 75 72 6e 20 74 |on().{..|return t|
|000011d0| 68 69 73 2e 63 6f 6e 74 | 72 6f 6c 6c 65 72 2e 67 |his.cont|roller.g|
|000011e0| 65 74 49 74 65 6d 41 74 | 28 74 68 69 73 2e 67 65 |etItemAt|(this.ge|
|000011f0| 74 49 74 65 6d 49 6e 64 | 65 78 28 29 29 3b 0a 7d |tItemInd|ex());.}|
|00001200| 0a 0a 46 53 65 6c 65 63 | 74 61 62 6c 65 49 74 65 |..FSelec|tableIte|
|00001210| 6d 43 6c 61 73 73 2e 70 | 72 6f 74 6f 74 79 70 65 |mClass.p|rototype|
|00001220| 2e 67 65 74 48 6f 73 74 | 44 61 74 61 50 72 6f 76 |.getHost|DataProv|
|00001230| 69 64 65 72 20 3d 20 66 | 75 6e 63 74 69 6f 6e 28 |ider = f|unction(|
|00001240| 29 0a 7b 0a 09 72 65 74 | 75 72 6e 20 74 68 69 73 |).{..ret|urn this|
|00001250| 2e 63 6f 6e 74 72 6f 6c | 6c 65 72 2e 64 61 74 61 |.control|ler.data|
|00001260| 50 72 6f 76 69 64 65 72 | 3b 0a 7d 0a 0a 2f 2f 20 |Provider|;.}..// |
|00001270| 3a 3a 3a 20 45 6e 64 20 | 63 6f 6e 76 65 6e 69 65 |::: End |convenie|
|00001280| 6e 63 65 20 6d 65 74 68 | 6f 64 73 0a 0a 0a 2f 2f |nce meth|ods...//|
|00001290| 20 43 6f 6e 74 72 6f 6c | 73 20 74 68 65 20 68 69 | Control|s the hi|
|000012a0| 67 68 6c 69 67 68 74 69 | 6e 67 20 6f 66 20 69 74 |ghlighti|ng of it|
|000012b0| 65 6d 73 2e 20 53 68 6f | 75 6c 64 6e 27 74 20 6e |ems. Sho|uldn't n|
|000012c0| 65 65 64 20 74 6f 20 62 | 65 20 65 78 74 65 6e 64 |eed to b|e extend|
|000012d0| 65 64 2e 0a 46 53 65 6c | 65 63 74 61 62 6c 65 49 |ed..FSel|ectableI|
|000012e0| 74 65 6d 43 6c 61 73 73 | 2e 70 72 6f 74 6f 74 79 |temClass|.prototy|
|000012f0| 70 65 2e 73 65 74 48 69 | 67 68 6c 69 67 68 74 65 |pe.setHi|ghlighte|
|00001300| 64 20 3d 20 66 75 6e 63 | 74 69 6f 6e 28 66 6c 61 |d = func|tion(fla|
|00001310| 67 29 0a 7b 0a 09 66 61 | 64 65 20 3d 20 74 68 69 |g).{..fa|de = thi|
|00001320| 73 2e 63 6f 6e 74 72 6f | 6c 6c 65 72 2e 73 74 79 |s.contro|ller.sty|
|00001330| 6c 65 54 61 62 6c 65 5b | 22 66 61 64 65 52 61 74 |leTable[|"fadeRat|
|00001340| 65 22 5d 2e 76 61 6c 75 | 65 3b 0a 09 69 66 20 28 |e"].valu|e;..if (|
|00001350| 66 61 64 65 3d 3d 75 6e | 64 65 66 69 6e 65 64 20 |fade==un|defined |
|00001360| 7c 7c 20 66 61 64 65 3d | 3d 30 20 7c 7c 20 21 66 ||| fade=|=0 || !f|
|00001370| 6c 61 67 29 7b 0a 09 09 | 74 68 69 73 2e 68 69 67 |lag){...|this.hig|
|00001380| 68 6c 69 67 68 74 5f 6d | 63 2e 5f 61 6c 70 68 61 |hlight_m|c._alpha|
|00001390| 20 3d 20 28 66 6c 61 67 | 29 20 3f 20 31 30 30 20 | = (flag|) ? 100 |
|000013a0| 3a 20 30 3b 0a 09 09 64 | 65 6c 65 74 65 20 74 68 |: 0;...d|elete th|
|000013b0| 69 73 2e 6f 6e 45 6e 74 | 65 72 46 72 61 6d 65 3b |is.onEnt|erFrame;|
|000013c0| 0a 09 7d 20 65 6c 73 65 | 20 7b 0a 09 09 74 68 69 |..} else| {...thi|
|000013d0| 73 2e 66 61 64 65 4e 20 | 3d 20 66 61 64 65 3b 0a |s.fadeN |= fade;.|
|000013e0| 09 09 74 68 69 73 2e 66 | 61 64 65 58 20 3d 20 31 |..this.f|adeX = 1|
|000013f0| 3b 0a 09 09 74 68 69 73 | 2e 68 69 67 68 4c 69 67 |;...this|.highLig|
|00001400| 68 74 5f 6d 63 2e 5f 61 | 6c 70 68 61 20 3d 20 32 |ht_mc._a|lpha = 2|
|00001410| 30 3b 0a 09 09 74 68 69 | 73 2e 6f 6e 45 6e 74 65 |0;...thi|s.onEnte|
|00001420| 72 46 72 61 6d 65 20 3d | 20 66 75 6e 63 74 69 6f |rFrame =| functio|
|00001430| 6e 28 29 0a 09 09 7b 0a | 09 09 09 74 68 69 73 2e |n()...{.|...this.|
|00001440| 68 69 67 68 4c 69 67 68 | 74 5f 6d 63 2e 5f 61 6c |highLigh|t_mc._al|
|00001450| 70 68 61 20 3d 20 36 30 | 2a 4d 61 74 68 2e 73 71 |pha = 60|*Math.sq|
|00001460| 72 74 28 74 68 69 73 2e | 66 61 64 65 58 2b 2b 2f |rt(this.|fadeX++/|
|00001470| 74 68 69 73 2e 66 61 64 | 65 4e 29 2b 34 30 3b 0a |this.fad|eN)+40;.|
|00001480| 09 09 09 69 66 20 28 74 | 68 69 73 2e 66 61 64 65 |...if (t|his.fade|
|00001490| 58 3e 74 68 69 73 2e 66 | 61 64 65 4e 29 20 7b 0a |X>this.f|adeN) {.|
|000014a0| 09 09 09 09 64 65 6c 65 | 74 65 20 74 68 69 73 2e |....dele|te this.|
|000014b0| 6f 6e 45 6e 74 65 72 46 | 72 61 6d 65 3b 0a 09 09 |onEnterF|rame;...|
|000014c0| 09 7d 0a 09 09 7d 0a 09 | 7d 0a 09 74 68 69 73 2e |.}...}..|}..this.|
|000014d0| 68 69 67 68 6c 69 67 68 | 74 65 64 20 3d 20 66 6c |highligh|ted = fl|
|000014e0| 61 67 3b 0a 7d 0a 0a 23 | 65 6e 64 69 6e 69 74 63 |ag;.}..#|endinitc|
|000014f0| 6c 69 70 0a 00 00 00 00 | 00 00 00 00 00 00 00 00 |lip.....|........|
|00001500| 00 00 00 00 00 00 00 00 | 00 01 00 00 00 00 00 00 |........|........|
|00001510| 00 00 00 00 00 00 00 00 | 00 00 80 00 00 00 80 0a |........|........|
|00001520| 07 4d 65 74 68 6f 64 73 | 01 01 01 ff ff ff ff 4f |.Methods|.......O|
|00001530| 80 ff ff 00 00 00 00 01 | 00 00 00 00 00 00 01 00 |........|........|
|00001540| 00 00 00 00 00 80 00 00 | 00 80 03 05 00 00 00 00 |........|........|
|00001550| 00 | |. | |
+--------+-------------------------+-------------------------+--------+--------+